<div id="ajax-content-body" class="ajax-content-body">
    <div style="width: 80%">
        <form class="layui-form" id="menu-msg" >
            <@>if (isEmpty(menu.parentName)){
            <@>} else {
            <div class="layui-form-item">
                <label class="layui-form-label">上级：</label>
                <label class="layui-form-label">${menu.parentName}</label>
            </div>
            <@>}
            <div class="layui-form-item">
                <label class="layui-form-label">图标：</label>
                <input type="text"  class="layui-input" id="icon" name="icon" style="width: 80%">
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">名称：</label>
                <input type="text" lay-verify="required"   class="layui-input" id="name" name="name" style="width: 80%">
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">url：</label>
                <input type="text" class="layui-input" id="url" name="url" style="width: 80%">
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">排序：</label>
                <input type="text" lay-verify="required" class="layui-input" id="sortNo" name="sortNo" style="width: 80%">
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">类型：</label>
                <div class="layui-input-block" style="width: 80%">
                    <select name="type" lay-filter="aihao" lay-verify="required" >
                        <option value=""></option>
                        <option value="0">权限</option>
                        <option value="1">菜单</option>
                    </select>
                </div>
            </div>
            <input type="hidden" value="${parentId}" name="parentId">
            <button type="button" lay-submit="" class="layui-btn" style="position: relative;left: 40px"  lay-filter="menu-add">提交
            </button>
        </form>
    </div>
</div>

